package com.gingko.duominuo.network.exception

/*网络错误*/
val CONNECT_ERROR = "net.01"

/*http_错误*/
val HTTP_ERROR = "net.02"

/*fastjson错误*/
val PARSE_ERROR = "net.03"

/*请求超时*/
val TIME_OUT_ERROR = "net.04"

/*未知错误*/
val UNKNOWN_ERROR = "net.05"

/*运行时异常-包含自定义异常*/
val RUNTIME_ERROR = "net.06"

/*无法解析该域名*/
val UNKNOWN_HOST_ERROR = "net.07"


class NativeException(private val code: String, message: String?) : Exception(message)